//
//  CSWindowViewController.m
//  MIS Cloud
//
//  Created by goldeney on 14-4-1.
//  Copyright (c) 2014年 goldeneye. All rights reserved.
//

#import "CSWindowViewController.h"

@interface CSWindowViewController ()

@end

@implementation CSWindowViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


#pragma mark -
#pragma mark CSMonitorNodeOrderDelegate

- (void)jumpNewViewControllerData:(NSDictionary*)mDictionary enrteObject:(NSString*)objectStr
{
    MainAppDelegate *application = [[UIApplication sharedApplication] delegate];
    CSWindowViewController *abstractView = [[CSWindowViewController alloc] initWithOpenJsonDictionary:mDictionary enterData:objectStr];
    abstractView.backResultDelagate = self;
    [application.navigationController pushViewController:abstractView animated:YES];
}

@end
